<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="css/xiangxi.css"/>
	</head>
	<body>
		<div id="web">
			<!--头部-->
			<header class="clearfix">
				<a href="Home.html">
					<div class="back fl">
					back
					</div>
				</a>
				
				<div class="selectbar fr">
                <img src="img/session-icon_07.png"/>
           		</div>
            	<div class="fenlei-p">
            		<p>产品详细</p>
            	</div>
			</header>
			<!--内容-->
			<div class="session">
				<div class="session-img">
					<img src="img/xiangxi_03.png"/>
				</div>
				<div class="price">
					<p>￥32</p>
					<button>购买</button>
				</div>
				<div class="pjia">
					<p class="p2">
						<span class="img1"><img src="img/session-icon_07.png"/></span>
						<span class="span1">好评度</span>
						<span class="span2">99%</span>
					</p>
					<p class="p1">共605个评价></p>
				</div>
				<div class="shiyong">
					<div class="sy-bg">
						<p>适用商户</p>
						<p>></p>
					</div>
				</div>
				<div class="food">
					<div class="food-img">
						<img src="img/food3.png"/>
					</div>
					<div class="food-p">
						<p class="f-p1">万岁寿司（正佳店）</p>
						<p><img src="img/session-icon_07.png"/>
						<img src="img/session-icon_07.png"/>
						<img src="img/session-icon_07.png"/>
						<img src="img/session-icon_07.png"/>
						<img src="img/session-icon_07.png"/>
						<span class="f-span">10分</span></p>
						<p class="f-p2">离你100m</p>
						<p class="f-p3">查看详情 >></p>
						
					</div>
					<button>进入</button>
				</div>
				<div class="food">
					<div class="food-img">
						<img src="img/food4.png"/>
					</div>
					<div class="food-p">
						<p class="f-p1">万岁寿司（体育西店）</p>
						<p><img src="img/session-icon_07.png"/>
						<img src="img/session-icon_07.png"/>
						<img src="img/session-icon_07.png"/>
						<img src="img/session-icon_07.png"/>
						<img src="img/session-icon_07.png"/>
						<span class="f-span">10分</span></p>
						<p class="f-p2">离你100m</p>
						<p class="f-p3">查看详情 >></p>
						
					</div>
					<button>进入</button>
				</div>
				<div class="food">
					<div class="food-img">
						<img src="img/food5.jpg"/>
					</div>
					<div class="food-p">
						<p class="f-p1">万岁寿司（昌岗店）</p>
						<p><img src="img/session-icon_07.png"/>
						<img src="img/session-icon_07.png"/>
						<img src="img/session-icon_07.png"/>
						<img src="img/session-icon_07.png"/>
						<img src="img/session-icon_07.png"/>
						<span class="f-span">10分</span></p>
						<p class="f-p2">离你100m</p>
						<p class="f-p3">查看详情 >></p>
						
					</div>
					<button>进入</button>
				</div>
			</div>
			<!--底部-->
		<footer>
			<ul class="clearfix">
				<li class="fl">
					<a href="Home.html">
						<i class="iconfont icon-path"></i>
						<p>首页</p>
					</a>
				</li>
				<li  class="fl">
					<a href="fenlei.html">
						<i class="iconfont icon-classify"></i>
						<p>分类</p>
					</a>
				</li>
				<li class="fl">
					<a href="faxian.html">
						<i class="iconfont icon-zhinanzhen"></i>
						<p>发现</p>
					</a>
				</li>
				<li class="fl">
					<a href="mine.html">
						<i class="iconfont icon-user"></i>
						<p>我的</p>
					</a>
				</li>
			</ul>
		</footer>
			
			
			
			
			
			
			
			
			
			
			
			
			
		</div>
		<!--自动计算跟字体大小的脚本-->
		<script>
			//安卓的输入法虚拟键盘会影响body的高度，所以在加载时，将body的原本高度给固定住
			document.body.style.height = window.innerHeight + "px";

			/*动态改变根元素字体大小*/
			function recalc() {
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
				// 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
			}

			function initRecalc() {
				recalc();
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
		</script>
	</body>
</html>
